package com.tzl.design_pattern.factory_pattern.factory_method_pattern;

/**
 * 定义一个生产苹果的工厂类，实现工厂接口
 *
 * @author Zhilei Tang
 * @date Created in 2020/11/14 16:14
 */
public class AppleFactory implements IFarmFactory {
  @Override
  public IProduct create() {
    return new Apple();
  }
}
